//
// Created by JYL on 2023-11-07.
//

#ifndef INC_3_HAL_LCD_LED_H
#define INC_3_HAL_LCD_LED_H

#include "main.h"

typedef struct {
    uint8_t b1:1;
    uint8_t b2:1;
    uint8_t b3:1;
    uint8_t b4:1;
    uint8_t b5:1;
    uint8_t b6:1;
    uint8_t b7:1;
    uint8_t b8:1;
}bits;

typedef union {
    uint8_t hex;
    bits b;
}HexToBin;

void LED_Contrl(uint8_t led_ctrl);

#endif //INC_3_HAL_LCD_LED_H
